package com.zyd.blog.homeart.service;

import com.zyd.blog.framework.object.PageResult;
import com.zyd.blog.persistence.beans.DesignArticle;
import com.zyd.blog.persistence.beans.SoftProduct;
import com.zyd.blog.plugin.BaseMapper;

import java.util.Map;

public interface BackstageRotationChartService{
    PageResult softBackstage(int page, int count);

    Integer insertSoft(DesignArticle designArticle, String list);

    Integer editSoft(DesignArticle designArticle,String list,String id);

    Integer deleteSoft(String softId) throws Exception;

    Map<String,Object> searchDesign(String value, int page, int count);
    Map<String,Object> specific(String designId) throws Exception;
    DesignArticle get(String id);
    Integer updateIn(DesignArticle designArticle);

    Integer success(String id);


    Integer lose(String id,String loseContent);
    Integer hide(String id,String commentId,String content);
}
